﻿using System;
using System.ComponentModel;

namespace Pay.TO {
    /// <summary>
    /// 订单状态 :待付款1,待发货2,已完成3,已关闭4，待确认5
    /// </summary>
    [Serializable]
    public enum OrderStatus {

        None = 0,
        /// <summary>
        /// 待付款
        /// </summary>
        [Description("待付款")]
        WaitPay = 1,
        /// <summary>
        /// 待发货
        /// </summary>
        [Description("待发货")]
        WaitDelivery = 2,
        /// <summary>
        /// 待确认
        /// </summary>
        [Description("待确认")]
        Confirm = 3,
        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        Finish = 4,
        /// <summary>
        /// 已关闭4
        /// </summary>
        [Description("已关闭")]
        Close = 5,
        /// <summary>
        /// 已发货
        /// </summary>
        [Description("已发货")]
        Shipped=6,
        /// <summary>
        /// 已删除
        /// </summary>
        [Description("已删除")]
        Delete = 7
    }
    /// <summary>
    /// 订单推送状态 1:未推送，2：已推送，3：推送失败
    /// </summary>
    [Serializable]
    public enum OrderPushStatus {
        /// <summary>
        /// 无
        /// </summary>
        None=0,
        /// <summary>
        /// 未推送
        /// </summary>
        [Description("未推送")]
        UnPush =1,
        /// <summary>
        /// 已推送
        /// </summary>
        [Description("已推送")]
        Pushed =2,
        /// <summary>
        /// 推送失败
        /// </summary>
        [Description("推送失败")]
        PushFail=3,
        /// <summary>
        /// 停止推单
        /// </summary>
        [Description("停止推单")]
        PushForbid=4
    }
    /// <summary>
    /// 订单结算状态
    /// </summary>
    [Serializable]
    public enum OrderSettleStatus {
        /// <summary>
        /// 无
        /// </summary>
        None =0,
        /// <summary>
        /// 未结算
        /// </summary>
        UnSettle=1,
        /// <summary>
        /// 已结算
        /// </summary>
        Settled=2
    }
}
